<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <link rel="stylesheet" href="../css/public.css">
  <link rel="stylesheet" href="../css/register.css">
  <script src="../js/jquery-1.10.1.min.js"></script>
  <script src="../js/code.js"></script>
  <script src="../js/cookie.js"></script>
  <script src="../js/interfdce.js"></script>
  <script src="../js/register.js"></script>

</head>

<body>
  <!-- 外部引入 -->
  <div class="header"></div>

  <div class="content">
    <div class="wrap">
      <div class="layout">
        <form action="">
          <div class="regBox">
            <h5 class="register__msg">
              <span>欢迎加入</span>
              <img class="msgImg" src="../images/fila_blue_150.png" alt="">
            </h5>
            <div class="register_user">
              <input type="text" name="phone" id="phone" placeholder="手机号码">
            </div>
            <div class="register_pwd">
              <input type="text" name="pwd" id="pwd" placeholder="&nbsp;&nbsp;&nbsp;登录密码">
            </div>
            <div class="getCode">
              <input type="text" name="code" id="codeInp" placeholder="请输入验证码">
              <span id="createCode">a1b2</span>
              <span id="code_span"></span>
            </div>
            <div class="inputbg">
              <input type="checkbox" name="agree" id="agree-check">
              <span>我已充分阅读、理解并接受<span>隐私政策</span>的全部内容</span>
            </div>
            <div class="dis-box">
              <span class="tips"></span>
            </div>
            <div class="confirm">确认</div>

          </div>
        </form>
      </div>
      <p class="go_login">已是会员？立即登录</p>
    </div>
  </div>

  <!-- 外部引入 -->
  <div class="footer"></div>
</body>

<script>
  $(".header").load("header.html");
  $(".footer").load("footer.html");
  createCode.innerText = randCode();
  createCode.onclick = function () {
    createCode.innerText = randCode();
  }
</script>
<script src="../js/interfdce.js"></script>

</html>